package cn.iocoder.yudao.module.erp.controller.admin.business.group.goodscategory.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "管理后台 - 物品类目 Response VO")
@Data
@ExcelIgnoreUnannotated
public class GoodsCategoryRespVO {

    @Schema(description = "类目id", requiredMode = Schema.RequiredMode.REQUIRED, example = "123")
    @ExcelProperty("类目id")
    private String id;


    @Schema(description = "类目名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("类目名称")
    private String name;

    @Schema(description = "类目父ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "321")
    @ExcelProperty("类目父id")
    private Long parentId;

}